home *** CD-ROM | disk | FTP | other *** search
- /* common data types and defs for both applications */
-
- /* structure for passing around resource information */
- typedef struct myResInfoStruct{
- short id;
- ResType theType;
- unsigned long length;
- Str255 theName;
-
- }myResInfoStruct;
- typedef myResInfoStruct *myResInfoPtr,**myResInfoHdl;
- /* a little struct to install handlers from. Makes it easier to plug in */
- /* new handlers */
- struct AEinstalls {
- AEEventClass theClass;
- AEEventID theEvent;
- EventHandlerProcPtr theProc;
- };
- typedef struct AEinstalls AEinstalls;
-
-
- #define kMungeDeamonCreator 'MUNG'
- #define kMyEventClass 'MUNG'
- #define kMyTypeOfData 'MAVT'
- #define kGetResEvent 'FRIT'
- #define kGetResInfoEvent 'FRFS'
- #define keyMyQuitFlag 'MYQT'
- #define kTypeDesired '?TYP'
- #define kMyResTypeParam 'RTYP'
- #define typeMyResType 'RTYP'
-
- #define typeMyResInfoType 'RESI'
-
-
- enum {kAppleEventTooBig = 7080,kListGrewTooBig};
-
- /* one external */
- extern void _DataInit(); /* this is the C initialization code */
-